home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / gas_251.zip / bin_251 / bfd / hosts / lynx.h < prev    next >
C/C++ Source or Header  |  1994-04-26  |  837b  |  43 lines

  1. /* Architecture independant LynxOS host support for 2.2 */
  2.  
  3. #ifndef hosts_lynx_h
  4. #define hosts_lynx_h
  5.  
  6. #include <fcntl.h>
  7. #include <errno.h>
  8. #include <stdio.h>
  9. #include <stdlib.h>
  10. #include <ctype.h>
  11. #include <string.h>
  12.  
  13. #include <sys/conf.h>
  14. #include <sys/kernel.h>
  15. /* sys/kernel.h should define this, but doesn't always, sigh. */
  16. #ifndef __LYNXOS
  17. #define __LYNXOS
  18. #endif
  19. #include <sys/mem.h>
  20. #include <sys/signal.h>
  21. #include <sys/time.h>
  22. #include <sys/resource.h>
  23. #include <sys/itimer.h>
  24. #include <sys/file.h>
  25. #include <sys/proc.h>
  26.  
  27. #define    HOST_PAGE_SIZE        NBPG
  28. #define    HOST_TEXT_START_ADDR    USRTEXT
  29.  
  30. #define HOST_LYNX
  31.  
  32. #include "fopen-same.h"
  33.  
  34. #define FPRINTF_ALREADY_DECLARED
  35.  
  36. #undef I386            /* Lynx defines this for some reason */
  37.  
  38. /* Lynx has calloc, but no cfree, and gprof uses it. */
  39.  
  40. #define cfree free
  41.  
  42. #endif /* hosts_lynx_h */
  43.